Automattic\WCShipping\LabelPurchase\LabelPurchaseService S

Total Complexity 38
Dependencies 6
Dependents 5
Total lines 366
Lines of code 204
Logical lines of code 95
Comment lines 102
Methods 9
Properties 4

Methods 9

Method Rating Maintainability Complexity Lines of code
prepare_packages_for_purchase()
A
50 14 28
get_labels_meta_from_response()
A
41 8 57
purchase_labels()
S
42 3 60
refund_label()
S
55 5 19
get_labels()
S
57 2 18
store_selected_meta()
S
63 3 10
__construct()
S
71 1 6
get_status()
S
80 1 3
update_order_label()
S
79 1 3